home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / NCSA / tn3270 2.4d7 source / NCSA⁄BYU TCP⁄IP / netevent.h < prev    next >
Text File  |  1991-08-06  |  2KB  |  71 lines

  1.  
  2.  
  3.  
  4. #define USERCLASS    1
  5. #define ICMPCLASS    2
  6. #define ERRCLASS    4
  7. #define SCLASS        8
  8. #define CONCLASS    0x10
  9.  
  10. #define ERR1    1        /* an error message is waiting, ERRCLASS */
  11.  
  12. #define IREDIR    1        /* ICMP redirect, ICMPCLASS */
  13.  
  14. #define CONOPEN 1        /* connection has opened, CONCLASS */
  15. #define CONDATA 2       /* there is data available on this connection */
  16. #define CONCLOSE 3        /* the other side has closed its side of the connection */
  17. #define CONFAIL 4        /* connection open attempt has failed */
  18.  
  19. #define UDPDATA 1        /* UDP data has arrived on listening port, USERCLASS */
  20. #define DOMOK    2        /* domain name ready */
  21. #define DOMFAIL 3        /* domain name lookup failed */
  22. #define FTPCOPEN 20     /* FTP command connection has opened */
  23. #define FTPCLOSE 21     /* FTP command connection has closed */
  24. #define FTPBEGIN 22     /* FTP transfer beginning, dat =1 for get, 0 for put */
  25. #define FTPEND   23     /* FTP transfer ending */
  26. #define FTPLIST  24     /* FTP file listing taking place */
  27. #define FTPUSER  25     /* FTP user name has been entered */
  28. #define FTPPWOK    26        /* FTP password verified */
  29. #define FTPPWNO 27        /* FTP password failed */
  30. #define RCPBEGIN 30        /* RCP beginning */
  31. #define RCPEND 31        /* RCP ending */
  32.  
  33. #define UDPTO 1            /* UDP request from DOMAIN timed out, SCLASS */
  34. #define FTPACT 2        /* FTP transfer is active, keep sending */
  35. #define TCPTO  3        /* TCP for DOMAIN timed out */
  36. #define RCPACT 4        /* rcp is active, needs CPU time */
  37. #define RETRYCON 5        /* retry connection packet, might be lost */
  38. #define CLOSEDONE 6        /* Close completion routine has been called (for Mac Drivers only) */
  39. #define UDATA 7            /* BYU mod - client ftp active */
  40.  
  41. extern void OtherError
  42.   (
  43.     char *mess1,
  44.     char *mess2
  45.   );
  46.  
  47. extern void FlushNetwork
  48.   (
  49.     int scrn
  50.   );
  51.  
  52. extern void pasteText
  53.   (
  54.     int scrn
  55.   );
  56.  
  57. extern void DoNetEvents
  58.   (
  59.     void
  60.   );
  61.  
  62. extern void ShowAllErrors
  63.   (
  64.     void
  65.   );
  66.  
  67. extern int setblocksize
  68.   (
  69.     int tosize
  70.   );
  71.